Extending Shiny by enhancing user experience with shinyLP

😀 + 💻

Jasmine Dumas | @jasdumas | jasdumas.github.io

January 12, 2017

Hi Portland!

Why should you care about this work?

I began buildng shiny apps in 2014…

shinyGEO

So building shiny apps are cool because…

Here are some cool advanced features of shiny add-on packages

Cool shiny examples from the internet!

New Zealand Tourism website

New Zealand App

Tweet analyzer

Tweet Analyzer

Twin Cities Bus

Twin Cities

Hartford Connecticut Crime

Hartford Crime

A quote from an influential R Programmer…

Here is the point…

We, as shiny developers need to prioritze user experience now that apps are getting more advanced and the user base is expanding!

There are ways to do that…

This is where shinyLP comes in…

jumbotron <- function(header , content, button = TRUE,  ...){

  button_label = c(...)

  if (button){
    HTML(paste0("<div class='jumbotron'>
                <h1> ", header, "</h1>
                <p>", content ,"</p>",
                "<p><a class='btn btn-primary btn-lg' button id='tabBut'>", button_label, "</a></p>
                </div>") )

  } else {
    HTML(paste0("<div class='jumbotron'>
                <h1> ", header, "</h1>
                <p>", content ,"</p>",
                "</div>") )
  }

}

Orange you glad I’m showing examples of shinyLP…


shinyGEO

This shinyLP example is a-peeling…


shinyGEO

The End